﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _4T.Data
{
    public class PatientInfo
    {
        //private int m_PatientInfoCode;
        private string m_PatientName;
        private DateTime m_Birthday;
        private string m_Gender;
        private string m_IDNumber;
        private string m_PermanentAddress;
        private string m_TemporaryAddress;
        private string m_MobileNumber;
        private string m_PhoneNumber;
        private string m_EmergencyRepresentative;
        private string m_RepresentativePhoneNumber;
        private string m_LocalContactPoint;
        private string m_LocalContactPointPhoneNumber;
        private string m_LocalMedicalStaff;
        private string m_LocalMedicalStaffPhoneNumber;
        private string m_MedicalFacility;
        private string m_Note;

        //public int PatientInfoCode
        //{
        //    get { return m_PatientInfoCode; }
        //    set { m_PatientInfoCode = value; }
        //}

        public string PatientName
        {
            get { return m_PatientName; }
            set { m_PatientName = value; }
        }

        public DateTime Birthday
        {
            get { return m_Birthday; }
            set { m_Birthday = value; }
        }

        public string Gender
        {
            get
            {
                return m_Gender;
            }
            set
            {
                this.m_Gender = value;
            }
        }

        public string IDNumber
        {
            get { return m_IDNumber; }
            set { m_IDNumber = value; }
        }

        public string PermanentAddress
        {
            get { return m_PermanentAddress; }
            set { m_PermanentAddress = value; }
        }

        public string TemporaryAddress
        {
            get { return m_TemporaryAddress; }
            set { m_TemporaryAddress = value; }
        }

        public string MobileNumber
        {
            get { return m_MobileNumber; }
            set { m_MobileNumber = value; }
        }

        public string PhoneNumber
        {
            get { return m_PhoneNumber; }
            set { m_PhoneNumber = value; }
        }

        public string EmergencyRepresentative
        {
            get { return m_EmergencyRepresentative; }
            set { m_EmergencyRepresentative = value; }
        }

        public string RepresentativePhoneNumber
        {
            get { return m_RepresentativePhoneNumber; }
            set { m_RepresentativePhoneNumber = value; }
        }

        public string LocalContactPoint
        {
            get { return m_LocalContactPoint; }
            set { m_LocalContactPoint = value; }
        }

        public string LocalContactPointPhoneNumber
        {
            get { return m_LocalContactPointPhoneNumber; }
            set { m_LocalContactPointPhoneNumber = value; }
        }

        public string LocalMedicalStaff
        {
            get { return m_LocalMedicalStaff; }
            set { m_LocalMedicalStaff = value; }
        }

        public string LocalMedicalStaffPhoneNumber
        {
            get { return m_LocalMedicalStaffPhoneNumber; }
            set { m_LocalMedicalStaffPhoneNumber = value; }
        }

        public string MedicalFacility
        {
            get { return m_MedicalFacility; }
            set { m_MedicalFacility = value; }
        }

        public string Note
        {
            get { return m_Note; }
            set { m_Note = value; }
        }


        public PatientInfo() { }

        public PatientInfo(string patientName, DateTime birthday, string gender, string idNumber, string permanentAddr,
            string tempAddr, string mobileNumber, string phoneNumber, string emergencyRepresentative,
            string representativePhoneNumber, string localContactPoint, string lcpPhoneNumber, string localMedicalStaff,
            string lmsPhoneNumber, string medicalFacility, string note)
        {
            this.PatientName = patientName;
            this.Birthday = birthday;
            this.Gender = gender;
            this.IDNumber = idNumber;
            this.PermanentAddress = permanentAddr;
            this.TemporaryAddress = tempAddr;
            this.MobileNumber = mobileNumber;
            this.PhoneNumber = phoneNumber;
            this.EmergencyRepresentative = emergencyRepresentative;
            this.RepresentativePhoneNumber = representativePhoneNumber;
            this.LocalContactPoint = localContactPoint;
            this.LocalContactPointPhoneNumber = lcpPhoneNumber;
            this.LocalMedicalStaff = localMedicalStaff;
            this.LocalMedicalStaffPhoneNumber = lmsPhoneNumber;
            this.MedicalFacility = medicalFacility;
            this.Note = note;
        }
    }
}